package com.huayi.server.Repository;

import com.huayi.server.Entity.DeviceEntity;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface DeviceRepository extends CrudRepository<DeviceEntity,Long> {

    DeviceEntity getByDeviceId(String deviceId);

}
